
<%@ page import="com.jeff.grailsstudy.BookBatch" %>

<%@ page contentType="text/html;charset=UTF-8" %>

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Sample title</title>
  </head>
  <body>
    <h1>Sample line</h1>
    <g:form action="bindIt" method="post" useToken="true">
      <fieldset class="buttons">
        <g:hiddenField name="BookBatch.title" value="my_title"/>
        <g:hiddenField name="BookBatch.publisher" value="my_publisher"/>
        <g:hiddenField name="BookBatch.size" value="3"/>

        <g:submitButton name="bindIt" class="save" value="Go Binding"/>
        <g:actionSubmit name="bindIt2" action="bindIt" value="Go Binding 2"/>
        <g:actionSubmit name="list" action="list" value="Go Home"/>
      </fieldset>
    </g:form>
  
    <g:link action="bindIt" id="1">BookBatch 1</g:link>
  </body>
</html>
